import layout from '@/layout'
export default {
  // 路由信息
  path: '/StaffManagement',
  component: layout,
  meta: {
    // 路由元信息 存储数据的
    icon: 'tree', // 图标
    title: '员工管理' // 标题
  }, // 一级路由

  children: [{
    path: '/StaffManagement/SecondaryPage/DeliverymanManagement',
    component: () => import('@/views/StaffManagement/SecondaryPage/DeliverymanManagement'),
    name: 'DeliverymanManagement',
    meta: {
      icon: 'tree', // 图标
      title: '快递员管理' // 标题
    }
  },
  {
    path: '/StaffManagement/SecondaryPage/DriverManagement',
    component: () => import('@/views/StaffManagement/SecondaryPage/DriverManagement'),
    name: 'DriverManagement',
    meta: {
      icon: 'tree', // 图标
      title: '司机管理' // 标题
    }
  },
  {
    path: '/StaffManagement/SecondaryPage/ScheduleManagement',
    component: () => import('@/views/StaffManagement/SecondaryPage/ScheduleManagement'),
    name: 'ScheduleManagement',
    meta: {
      icon: 'tree', // 图标
      title: '排版管理' // 标题
    }
  }
  ]
}
